/*
创建action的函数
*/

import {SOKT, DECREMENT} from './action-type';

export const websoket = (event) => ({type: SOKT, data: event});
export const decrement = (num) => ({type: DECREMENT, data: num});
